package com.genius.reservation.receiveManager.controller;

import com.genius.workflow.log.ControllerLog;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Api(tags = "收货主管页面的控制器(与后台页面有关)不要动",value = "控制器")
public class ReceiveManagerViewController {

    @ControllerLog(description="跳转到收货主管页面")
    @GetMapping("/receiveManagerMainPage")
    public String receiveManagerMain(){
        return "/views/reservation/receiveManager/main";
    }


    @ControllerLog(description="跳转到收货员休假")
    @GetMapping("/receiveHolidayPage")
    public String holiday(){
        return "/views/reservation/receiveManager/holiday";
    }


    @ControllerLog(description="跳转到收货主管表格页面")
    @GetMapping("/receiveManagerMainPageTable")
    public String receiveManagerMainPageTable(){
        return "/views/reservation/select";
    }


    @ControllerLog(description = "跳转确认页面")
    @GetMapping("/confirm")
    public String confirm(){
        return "/views/reservation/receiveManager/confirm";
    }


    @ControllerLog(description = "跳转迟到页面")
    @GetMapping("/chidao")
    public String chidao(){
        return "/views/reservation/receiveManager/chidao";
    }

    @ControllerLog(description = "跳转重新分配")
    @GetMapping("/reallocation")
    public String reallocation(){
        return "/views/reservation/receiveManager/reallocation";
    }

    @ControllerLog(description = "详情")
    @GetMapping("/details")
    public String details(){
        return "/views/reservation/receiveManager/details";
    }
}
